home *** CD-ROM | disk | FTP | other *** search
/ .net 2002 March / DotNetMagazine-Issue107-Coverdisc-NET107-02-03-PCMac.bin / pc / PC Software / free_browsing / DavesQckSearchDbar3-14 / dqsd.exe / searches / mysimon.xml < prev    next >
Text File  |  2002-09-19  |  5KB  |  136 lines

  1. <search function="mysimon">
  2.   <name>My Simon</name>
  3.   <category>Shopping</category>
  4.   <contributor>David Bau</contributor>
  5.   <link>http://www.mysimon.com/</link>
  6.   <email>davidbau@hotmail.com</email>
  7.   <description>
  8.   Compare products and prices using MySimon
  9.     <div class="helpboxDescLabels">Switches:</div>
  10.       <table class="helpboxDescTable">
  11.           <tr><td>/apparel</td><td> - </td><td>Apparel</td></tr>
  12.           <tr><td>/babies</td><td> - </td><td>Babies</td></tr>
  13.           <tr><td>/beauty /health</td><td> - </td><td>Beauty and Health</td></tr>
  14.           <tr><td>/books /movies /music</td><td> - </td><td>Books, Movies, Music</td></tr>
  15.           <tr><td>/computers</td><td> - </td><td>Computers</td></tr>
  16.           <tr><td>/electronics</td><td> - </td><td>Electronics</td></tr>
  17.           <tr><td>/flowers /gifts</td><td> - </td><td>Flowers and Gifts</td></tr>
  18.           <tr><td>/food /wine</td><td> - </td><td>Food and Wine</td></tr>
  19.           <tr><td>/home /garden</td><td> - </td><td>Home and Garden</td></tr>
  20.           <tr><td>/office</td><td> - </td><td>Office</td></tr>
  21.           <tr><td>/sports /hobbies</td><td> - </td><td>Sports and Hobbies</td></tr>
  22.           <tr><td>/toys</td><td> - </td><td>Toys and Games</td></tr>
  23.           <tr><td>/games</td><td> - </td><td>Video Games</td></tr>
  24.       </table>
  25.     <div class="helpboxDescLabels">Examples:</div>
  26.         <table class="helpboxDescTable">
  27.           <tr><td>mysimon Pentax Cameras</td></tr>
  28.           <tr><td>mysimon Trefethen /books</td></tr>
  29.       </table>
  30.   </description>
  31.  
  32.   <form name="mysimonf"
  33.         method="get"
  34.         action="http://chkpt.zdnet.com/chkpt/mys.ksrch.hp/http://www.mysimon.com/ksrch/kwaction.jhtml">
  35.     <input type="hidden" name="pgid" value="" />
  36.     <input type="hidden" name="fromURI" value="/index.jhtml" />
  37.     <input type="hidden" name="oldc" value="" />
  38.  
  39.     <COMMENT> The following field was active (i.e. had focus) when the search was generated. </COMMENT>
  40.  
  41.     <input type="hidden" name="kw" value="" />
  42.     <input type="hidden" name="c" value="" />
  43.     <COMMENT>
  44.       The input element above, "c", was a SELECT element with the following options...
  45.       <select name="c">
  46.         <option value="">Entire Site</option>
  47.         <option value="apparel">Apparel</option>
  48.         <option value="babieskids">Babies</option>
  49.         <option value="health">Beauty & Health</option>
  50.         <option value="media">Books,Music,Movies</option>
  51.         <option value="computers">Computers</option>
  52.         <option value="electronics">Electronics</option>
  53.         <option value="flowersgifts">Flowers & Gifts</option>
  54.         <option value="gourmet">Food & Wine</option>
  55.         <option value="home">Home & Garden</option>
  56.         <option value="office">Office</option>
  57.         <option value="sportshobbies">Sports & Hobbies</option>
  58.         <option value="toyscollectibles">Toys & Games</option>
  59.         <option value="computerandvideogames">Video Games</option>
  60.       </select>
  61.     </COMMENT>
  62.  
  63.   </form>
  64.   <script><![CDATA[
  65.     function mysimon(q)
  66.     {
  67.       if( nullArgs("mysimon", q) )
  68.         return;
  69.  
  70.       var args = parseArgs(q, "apparel, babies, beauty, health, books, movies, music, computers, electronics, flowers, gifts, food, wine, home, garden, office, sports, hobbies, toys, games");
  71.       var c = "";
  72.       if ( args.switches.length > 0 )
  73.       {
  74.         switch( args.switches[0].name )
  75.         {
  76.           case "apparel":
  77.             c = "apparel"; break;
  78.           case "babies":
  79.             c = "babieskids"; break;
  80.           case "beauty":
  81.             c = "health"; break;
  82.           case "health":
  83.             c = "health"; break;
  84.           case "books":
  85.             c = "media"; break;
  86.           case "movies":
  87.             c = "media"; break;
  88.           case "music":
  89.             c = "media"; break;
  90.           case "computers":
  91.             c = "computers"; break;
  92.           case "electronics":
  93.             c = "electronics"; break;
  94.           case "flowers":
  95.             c = "flowersgifts"; break;
  96.           case "gifts":
  97.             c = "flowersgifts"; break;
  98.           case "food":
  99.             c = "gourmet"; break;
  100.           case "wine":
  101.             c = "gourmet"; break;
  102.           case "home":
  103.             c = "home"; break;
  104.           case "garden":
  105.             c = "home"; break;
  106.           case "office":
  107.             c = "office"; break;
  108.           case "sports":
  109.             c = "sportshobbies"; break;
  110.           case "hobbies":
  111.             c = "sportshobbies"; break;
  112.           case "toys":
  113.             c = "toyscollectibles"; break;
  114.           case "games":
  115.             c = "computerandvideogames"; break;
  116.           default:
  117.             break;
  118.         }
  119.       }
  120.  
  121.       document.mysimonf.kw.value = args.q;
  122.       document.mysimonf.c.value = c;
  123.  
  124.       submitForm(mysimonf);
  125.     }
  126.   ]]></script>
  127.   <copyright>
  128.     The following applies if this file is included and distributed with Dave's Quick Search Deskbar:
  129.     Copyright (c) 2002 David Bau; Distributed under the terms of the GNU Public License, Version 2 (http://www.gnu.org/copyleft/gpl.txt)
  130.   </copyright>
  131.   <created_by>
  132.     This search file was initially created on 09/19/02 at 07:19:47
  133.     by Dave's Quick Search Deskbar Search Wizard version 0.7 (beta),
  134.     Copyright (c) 2002 Glenn Carr; Distributed under the terms of the GNU General Public License, Version 2
  135.   </created_by>
  136. </search>